package pers.course.week1;

import java.util.Scanner;

public class Repeat1 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int num = s.nextInt();
        s.nextLine();
        String line = s.nextLine();
        for (int i = 1; i < num; i++) {
            System.out.print(line+" ");
        }
        System.out.println(line);
    }
}
